import fly from '../utils/request'

export const getChannels = () => fly.get('/user/channels')

export const getArticles = (obj) => fly.get('/articles',obj)

export const getDetail = id => fly.get('/articles/'+ id)